<template>
  <div id="app">
    <header id="header">
      <a id="logo"><h1>诊所管理</h1></a>
      <div id="login-info">
        <el-button type="primary" size="small" @click.native="loginOpen = true">登 录</el-button>
      </div>
    </header>
    <nav-warp/>
    <side-warp/>
    <main id="main">
        <router-view></router-view>
    </main>
  </div>
</template>

<script>
import { NavWarp, SideWarp } from 'components/layout'
import 'assets/css/style.css'

export default {
  components: {
    NavWarp,
    SideWarp
  }
}
</script>